package com.youlai.boot.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.Plate;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

/**
 * 板材持久层接口
 *
 * @author Ray.Hao
 * @since 2022/1/14
 */
@Mapper
public interface PlateMapper extends BaseMapper<Plate> {
    /**
     * 获取最大范围的数据权限
     *
     * @param plates 编码集合
     * @return
     */
    Integer getMaximumDataScope(Set<String> plates);
}
